package com.wjb.service;

import com.wjb.model.EbNews;

import java.util.List;

public interface NewsService {
    int save(EbNews ebNews);

    List<EbNews> listByPage(int page, int pageSize);

    Integer getMaxPage(Integer pageSize);


    EbNews selectById(Integer enId);

    int updateById(EbNews ebNews);

    int delete(Integer enId);
}
